package com.cai.service;

import com.cai.entity.PageResult;
import com.cai.entity.QueryPageBean;

import com.cai.pojo.Permission;

import java.util.List;

public interface PermissionService {
    //权限分页查询
    public PageResult pageQuery(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    void add(Permission permission);

    Permission findById(Integer id);

    void edit(Permission permission);

    List<Permission> findAll();

}
